# $Id: PKGBUILD 182101 2013-04-06 21:59:09Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=psmisc
pkgver=22.20
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64')
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('base')
depends=('ncurses')
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
sha1sums=('abdddc8d5c91251bba0f3190956ae9d05c058745')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
